<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>1-nth-of-type结构</title>
		<style type="text/css">
			/*取第2个元素*/
			ul li:nth-of-type(2){
				color: #0000FF;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>百度</li>
			<li>新浪</li>
			<li>阿里</li>
		</ul>
		
		
	</body>
</html>
